package com.bjsxt.pojo;

import java.util.ArrayList;
import java.util.List;

public class Users {

    private String username;
    private String userpwd;
    private Roles roles;
    private List<Menus> list = new ArrayList<>();
    private List<Funs> funs = new ArrayList<>();

    public List<Funs> getFuns() {
        return funs;
    }

    public void setFuns(List<Funs> funs) {
        this.funs = funs;
    }

    public List<Menus> getList() {
        return list;
    }

    public void setList(List<Menus> list) {
        this.list = list;
    }

    public Roles getRoles() {
        return roles;
    }

    public void setRoles(Roles roles) {
        this.roles = roles;
    }

    public Users() {
    }

    public Users(String username, String userpwd) {
        this.username = username;
        this.userpwd = userpwd;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getUserpwd() {
        return userpwd;
    }

    public void setUserpwd(String userpwd) {
        this.userpwd = userpwd;
    }

    @Override
    public String toString() {
        return "Users{" +
                "username='" + username + '\'' +
                ", userpwd='" + userpwd + '\'' +
                '}';
    }
}
